package com.qfedu.mall.mapper;

import com.qfedu.mall.beans.entity.User;
import com.qfedu.mall.beans.entity.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    int selectCount();

    User selectUserById(@Param("id") Integer userId);

    Users getUserByName(@Param("username") String name);

    int  insertUsers(Users users);

    List<User> selectAll();
}
